Skip to content

feat(test): migrate from jest to vitest#2606

Merged
setchy merged 21 commits intomainfrom
feat/jest-to-vitest
Feb 16, 2026
Merged

feat(test): migrate from jest to vitest#2606
setchy merged 21 commits intomainfrom
feat/jest-to-vitest

Conversation

@setchy
Copy link
Member

@setchy setchy commented Feb 16, 2026

Closes #2595 by migrating to Vitest - https://vitest.dev/.

Tests have been split into two projects:

  • main and shared run as node environment tests
  • renderer and preload run as happy-dom environment tests

Future opportunity to split renderer so that utils also run in node environment


Port of setchy/atlassify#2216, with some help from #2479

Prior work: #1840

Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
@github-actions github-actions bot added dependency Dependency updates enhancement New feature or enhancement to existing functionality labels Feb 16, 2026
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
@setchy
Copy link
Member Author

setchy commented Feb 16, 2026

Might also be sufficient to close #2481 🤞

Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
54.5% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@setchy setchy merged commit e7a7716 into main Feb 16, 2026
13 of 14 checks passed
@setchy setchy deleted the feat/jest-to-vitest branch February 16, 2026 17:35
@github-actions github-actions bot added this to the Release 6.18.0 milestone Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependency Dependency updates enhancement New feature or enhancement to existing functionality

Development

Successfully merging this pull request may close these issues.

migrate from Jest to Vitest

1 participant

Comments